
#include <xp/bas/sysapi.h>
#include <xp/bas/stdio.h>
#include <fcntl.h>

int xp_main ()
{
	int n;

#ifndef _WIN32
// in fact, UCN sequences must not be used in XP_TEXT for compatibiliy.
	n = xp_open (XP_TEXT("\uC2DC\uD5D8\uC6A9\uD30C\uC77C.\u8BD5\u9A8C.\u306B\u307B"), O_RDWR | O_CREAT, 0600);
	if (n == -1) {
		xp_printf (XP_TEXT("cannot open file\n"));
		return -1;
	}

	xp_close (n);
#endif
	return 0;
}

